﻿namespace Traffic.Entity;

/// <summary>
/// 服务列表
/// </summary>
public partial class ExtraService
{
    public int Id { get; set; }

    /// <summary>
    /// 对应Business.ID
    /// </summary>
    public int BusinessId { get; set; }

    /// <summary>
    /// 组名  同组里只可以单选并以并列列表显示，没组名则单独显示。
    /// </summary>
    public string? GroupName { get; set; }

    /// <summary>
    /// 服务名称
    /// </summary>
    public string ServiceName { get; set; } = null!;

    /// <summary>
    /// 描述
    /// </summary>
    public string? Description { get; set; }

    /// <summary>
    /// 图标路径
    /// </summary>
    public string? IconUrl { get; set; }

    /// <summary>
    /// 图片路径
    /// </summary>
    public string? ImageUrl { get; set; }

    /// <summary>
    /// 数量限量
    /// </summary>
    public int LimitCount { get; set; }

    /// <summary>
    /// 限量形式  0：按天  1：按月  2：按年
    /// </summary>
    public int LimitType { get; set; }

    /// <summary>
    /// 价格
    /// </summary>
    public decimal Price { get; set; }

    /// <summary>
    /// VIP价格
    /// </summary>
    public decimal VipPrice { get; set; }

    /// <summary>
    /// 创建日期
    /// </summary>
    public DateTime CreateDate { get; set; }

    /// <summary>
    /// 开始时间
    /// </summary>
    public DateTime StartDate { get; set; }

    /// <summary>
    /// 结束时间
    /// </summary>
    public DateTime EndDate { get; set; }

    /// <summary>
    /// 是否对个人
    /// </summary>
    public bool IsSingle { get; set; }

    /// <summary>
    /// 默认下单后生效，不作退款。  0：否  1：是
    /// </summary>
    public bool DefaultUsed { get; set; }

    /// <summary>
    /// 状态  1：正常（默认）  0：停用
    /// </summary>
    public bool Status { get; set; }
}
